package com.sina.weibo;

import android.view.View;

final class FaceClickHealper
{
  private EditActivity activity;
  private boolean isFaceDiaplay = 0;

  public FaceClickHealper(EditActivity paramEditActivity)
  {
    this.activity = paramEditActivity;
  }

  private void changeDiaplayFlag()
  {
    if (this.isFaceDiaplay);
    for (int i = 0; ; i = 1)
    {
      this.isFaceDiaplay = i;
      return;
    }
  }

  boolean isFaceDiaplay()
  {
    return this.isFaceDiaplay;
  }

  void onClick(View paramView)
  {
    StringBuilder localStringBuilder = new StringBuilder("isFaceDiaplay ---- ");
    boolean bool1 = this.isFaceDiaplay;
    Utils.logd(bool1);
    EditActivity localEditActivity1 = this.activity;
    if (this.isFaceDiaplay)
    {
      int i = 0;
      localEditActivity1.setEmotionViewVisibility(i);
      if (!this.isFaceDiaplay)
        break label97;
      this.activity.displayFaceImageSrc();
    }
    while (true)
    {
      EditActivity localEditActivity2 = this.activity;
      boolean bool2 = this.isFaceDiaplay;
      boolean bool3 = localEditActivity2.setInputMethodVisibility(bool2);
      changeDiaplayFlag();
      return;
      int j = 1;
      break;
      label97: this.activity.displayKeyboardImageSrc();
    }
  }

  boolean onFinish()
  {
    StringBuilder localStringBuilder = new StringBuilder("FaceClickHealper.onFinish() ---- ");
    boolean bool = this.isFaceDiaplay;
    Utils.logd(bool);
    if (this.isFaceDiaplay)
    {
      this.activity.displayFaceImageSrc();
      this.activity.setEmotionViewVisibility(0);
      changeDiaplayFlag();
    }
    for (int i = 1; ; i = 0)
      return i;
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.FaceClickHealper
 * JD-Core Version:    0.6.0
 */